package com.medibooking.gwt.client.calendar.ui.model;

import com.medibooking.gwt.client.CalendarConstants;


public enum PeriodLength {
	 
	WEEK(7, CalendarConstants.DEFAULT_WEEK_CELL_WIDTH, CalendarDay.MONDAY),
	FOUR_DAYS(4, CalendarConstants.DEFAULT_FOUR_DAYS_CELL_WIDTH, CalendarDay.TODAY),
	ONE_DAY(1, CalendarConstants.DEFAULT_ONE_DAY_CELL_WIDTH, CalendarDay.TODAY);
	
	
	private int numberOfDays;
	private int cellWidth;
	private CalendarDay startDay;

	private PeriodLength(int numberOfDays, int cellWidth, CalendarDay startDay) {
		this.numberOfDays = numberOfDays;
		this.cellWidth = cellWidth;
		this.startDay = startDay;
	}
	public CalendarDay startDay()  {
		return this.startDay;
	}
	public int numberOfDays() {
		return this.numberOfDays;
	}

	public int cellWidth() {
		return this.cellWidth;
	}
}
